import { createRouter, createWebHistory } from 'vue-router';
import Home from '../views/Home/index.vue';
import About from '../views/About/index.vue';
import Services from '../views/Services/index.vue';
import Cases from '../views/Cases/index.vue';
import News from '../views/News/index.vue';
import Contact from '../views/Contact/index.vue';
import Test from '../views/test/index.vue';

const routes = [
  {
    path: '/',
    name: 'home',
    component: Home
  },
  {
    path: '/about',
    name: 'about',
    component: About
  },
  {
    path: '/services',
    name: 'services',
    component: Services
  },
  {
    path: '/cases',
    name: 'cases',
    component: Cases
  },
  {
    path: '/news',
    name: 'news',
    component: News
  },
  {
    path: '/contact',
    name: 'contact',
    component: Contact
  },
  {
    path: '/test',
    name: 'test',
    component: Test
  }
];

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
});

export default router;
